package com.module.record.domain;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.io.Serializable;

/**
 * 定时上报记录
 */
@Data
@Measurement(name = "record_reading")
public class RecordReading implements Serializable {

    /** deviceImei */
    @Column(name = "device_imei", tag = true)
    private String deviceImei;

    /** 表号 */
    @Column(name = "meter_no")
    private String meterNo;

    /** 抄表数值 */
    @Column(name = "result")
    private double result;

    /** 抄表尖数值 */
    @Column(name = "result1")
    private double result1;

    /** 抄表峰数值 */
    @Column(name = "result2")
    private double result2;

    /** 抄表平数值 */
    @Column(name = "result3")
    private double result3;

    /** 抄表谷数值 */
    @Column(name = "result4")
    private double result4;

    /** 抄表深谷数值 */
    @Column(name = "result5")
    private double result5;

    /** 信号值 */
    @Column(name = "csq")
    private String csq;

    /** 抄表指令 */
    @Column(name = "order")
    private String order;

    /** 采集时间 */
    @Column(name = "time")
    private String time;
}
